package com.atguigu.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @Author: lihan
 * @Date : 2021/12/15- 12
 * @DESCRIPTION: com.atguigu.springcloud.service
 * @version: 1.0
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService {
    @Override
    public String paymentInfo_OK(Integer id) {
        return " PaymentFallbackService  paymentInfo_OK";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return " PaymentFallbackService  paymentInfo_TimeOut";
    }
}
